/* eslint-disable import/no-commonjs, import/unambiguous, import/no-extraneous-dependencies */
module.exports = {
  syntax: 'postcss-scss',
  plugins: [
    require('postcss-flexbugs-fixes'),
    require('autoprefixer'),
    require('postcss-nested'),
    require('postcss-modules')({
      generateScopedName: '[local]_[hash:base64:5]',
      getJSON: async () => {
        /* do nothing */
      },
    }),
  ],
};
